package com.yenlien.traceyun.business.entity;


import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * Created by LiuSha on 2020/6/8.
 * 供应商管理
 */
@Entity
@Table(name = "t_supplier")
public class Supplier extends TraceEntity {
    @Column(name = "supplierName", length = 20)
    private String supplierName; //供应商名称
    @Column(name = "area", length = 50)
    private String area; //地区
    @Column(name = "address", length = 50)
    private String address; //详细地址
    @Column(name = "userName", length = 20)
    private String userName; //联系人
    @Column(name = "phone", length = 13)
    private String phone; //联系电话
    @Column(name = "remark", length = 50)
    private String remark; //摘要，备注
    @Transient
    private String query; //查询字段

    @Column
    private String bankCard; //卡号
    @Column
    private String bankName; //开户行


    private String  invoice;    // 发票

    private String payWay; //   付款方式

    private String payState;    // 付款情况

    private String payMoney;    // 付款金额


    private String type;    // 所属物资类型
    private String name;    // 物名称

    private String user;    // 经办人

    private String num;      // 数量

    private String price;   // 单价

    private String freight;   // 装卸及运费

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getFreight() {
        return freight;
    }

    public void setFreight(String freight) {
        this.freight = freight;
    }

    public String getInvoice() {
        return invoice;
    }

    public void setInvoice(String invoice) {
        this.invoice = invoice;
    }

    public String getPayWay() {
        return payWay;
    }

    public void setPayWay(String payWay) {
        this.payWay = payWay;
    }

    public String getPayState() {
        return payState;
    }

    public void setPayState(String payState) {
        this.payState = payState;
    }

    public String getPayMoney() {
        return payMoney;
    }

    public void setPayMoney(String payMoney) {
        this.payMoney = payMoney;
    }

    public String getBankCard() {
        return bankCard;
    }

    public void setBankCard(String bankCard) {
        this.bankCard = bankCard;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getQuery() {
        return query;
    }

    public void setQuery(String query) {
        this.query = query;
    }

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
}
